/*
* $Id: InterfaceDC.h 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _INTERFACE_DC_H_
#define _INTERFACE_DC_H_

interface IValidate : public IBase{
	virtual bool bValidate(const std::tstring& strContent, bool bWay = true) = 0;
	virtual std::tstring GetValidateRule() = 0;
};

interface IControl{
	virtual std::tstring GetId() = 0;
	virtual void SetState(const std::tstring& strState) = 0;
	virtual std::tstring GetState() = 0;
	virtual bool Validate() = 0;
	virtual std::tstring GetRuleDescribe() = 0;
	virtual bool IsTabStop() = 0;
	virtual void TabStop() = 0;
};

#endif/*_INTERFACE_DC_H_*/
